<template>
  <div>
    <store-list ref="storeList"></store-list>
  </div>
</template>
<script>
// 将分包的组件复制到公共
import storeList from "@/pages/Component/Public/store/list.vue";
export default {
  components: {
    storeList,
  },
  data() {
    return {
      // 搜索关键字
      keyword: "",

      // 历史搜索
      historyDatas: [],
      // 热门搜索
      hotDatas: [],
    };
  },
  onLoad(item) {
    console.log(item);
    this.$refs.storeList.getStoreList("", item.keyword);
  },
};
</script>